import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
import javax.swing.JRadioButton;
import javax.swing.JSeparator;
import javax.swing.JSlider;
import javax.swing.JSpinner;
import javax.swing.JTabbedPane;
import javax.swing.JToggleButton;
import javax.swing.JButton;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import ch.randelshofer.quaqua.QuaquaManager;


public class TelaPrincipal {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel(QuaquaManager.getLookAndFeel());
		} catch (UnsupportedLookAndFeelException e1) {
			// TODO Auto-generated catch block
			e1.printStackTrace();
		}
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TelaPrincipal window = new TelaPrincipal();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public TelaPrincipal() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 450, 300);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(null);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		tabbedPane.setBounds(6, 6, 422, 250);
		frame.getContentPane().add(tabbedPane);
		
		JPanel funcionario = new JPanel();
		tabbedPane.addTab("Funcionario", null, funcionario, null);
		funcionario.setLayout(null);
		
		JRadioButton rdbtnRadio = new JRadioButton("Radio 1");
		rdbtnRadio.setBounds(31, 107, 117, 22);
		funcionario.add(rdbtnRadio);
		
		JRadioButton rdbtnRadio_1 = new JRadioButton("Radio 2");
		rdbtnRadio_1.setBounds(31, 72, 117, 22);
		funcionario.add(rdbtnRadio_1);
		
		JToggleButton tglbtnNewToggleButton = new JToggleButton("New toggle button");
		tglbtnNewToggleButton.setBounds(6, 141, 132, 29);
		funcionario.add(tglbtnNewToggleButton);
		
		JSpinner spinner = new JSpinner();
		spinner.setBounds(183, 34, 40, 31);
		funcionario.add(spinner);
		
		JProgressBar progressBar = new JProgressBar();
		progressBar.setBounds(174, 118, 207, 52);
		funcionario.add(progressBar);
		
		JSeparator separator = new JSeparator();
		separator.setBounds(275, 38, 52, 42);
		funcionario.add(separator);
		
		JSlider slider = new JSlider();
		slider.setBounds(89, 182, 200, 25);
		funcionario.add(slider);
		
		JButton btnNewButton = new JButton("New button");
		btnNewButton.setBounds(6, 6, 93, 29);
		funcionario.add(btnNewButton);
		
		JPanel produto = new JPanel();
		tabbedPane.addTab("Produto", null, produto, null);
		produto.setLayout(null);
		
		JPanel relatorio = new JPanel();
		tabbedPane.addTab("Relat\u00F3rio", null, relatorio, null);
		relatorio.setLayout(null);
	}
}
